package zh.codegym.task.task04.task0418;

/* 
两个数字中的最小值
*/

import java.io.*;
import java.util.Scanner;

public class Solution {
    public static void main(String[] args) throws Exception {
        //在此编写你的代码
        Scanner scanner = new Scanner(System.in);

        int number1 = scanner.nextInt();
        int number2 = scanner.nextInt();

        System.out.println(number1 > number2 ? number2 : number1);

    }
}